

Project 'VGG16_1FC.Exp15.AonB.10p.masked.run_1':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 106 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
7        0               Asteromphalus.labId_6835     4           4           0
8        1                 Chaetoceros.labId_6813     6           6           0
3        2 Fragilariopsis kerguelensis.labId_8356    33          33           0
10       3     Fragilariopsis rhombica.labId_8362     4           4           0
5        4                   Nitzschia.labId_6758     6           6           0
4        5             Pseudonitzschia.labId_8364    13          13           0
2        6                Rhizosolenia.labId_6776    12          12           0
6        7           Silicoflagellate.labId_10255    14          14           0
9        8     Thalassiosira gracilis.labId_10366     7           7           0
1        9  Thalassiosira lentiginosa.labId_10369     7           7           0
11      NA                                    Sum   106         106           0

Validation: 32 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
4        0               Asteromphalus.labId_6835     2           2           0
3        1                 Chaetoceros.labId_6813     2           2           0
6        2 Fragilariopsis kerguelensis.labId_8356     9           9           0
2        3     Fragilariopsis rhombica.labId_8362     2           2           0
1        4                   Nitzschia.labId_6758     2           2           0
7        5             Pseudonitzschia.labId_8364     4           4           0
5        6                Rhizosolenia.labId_6776     3           3           0
8        7           Silicoflagellate.labId_10255     4           4           0
9        8     Thalassiosira gracilis.labId_10366     2           2           0
10       9  Thalassiosira lentiginosa.labId_10369     2           2           0
11      NA                                    Sum    32          32           0

Test: 193 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
7        0               Asteromphalus.labId_6835    16           0          16
2        1                 Chaetoceros.labId_6813    35           0          35
3        2 Fragilariopsis kerguelensis.labId_8356    24           0          24
8        3     Fragilariopsis rhombica.labId_8362    22           0          22
10       4                   Nitzschia.labId_6758     4           0           4
5        5             Pseudonitzschia.labId_8364    35           0          35
6        6                Rhizosolenia.labId_6776     7           0           7
4        7           Silicoflagellate.labId_10255    16           0          16
1        8     Thalassiosira gracilis.labId_10366    12           0          12
9        9  Thalassiosira lentiginosa.labId_10369    22           0          22
11      NA                                    Sum   193           0         193

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 8


Evaluating trained model for project 'VGG16_1FC.Exp15.AonB.10p.masked.run_1':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction  0  1  2  3  4  5  6  7  8  9
         0 15  0  0  0  0  0  0  0  0  0
         1  1 32  0  0  0  0  2  0  0  0
         2  0  0 24  0  1  1  0  0  0  0
         3  0  3  0 22  0  0  0  0  0  0
         4  0  0  0  0  3  4  0  0  0  0
         5  0  0  0  0  0 30  0  0  0  0
         6  0  0  0  0  0  0  5  0  0  0
         7  0  0  0  0  0  0  0 16  0  0
         8  0  0  0  0  0  0  0  0 12  0
         9  0  0  0  0  0  0  0  0  0 22

Overall Statistics
                                          
               Accuracy : 0.9378          
                 95% CI : (0.8939, 0.9675)
    No Information Rate : 0.1813          
    P-Value [Acc > NIR] : < 2.2e-16       
                                          
                  Kappa : 0.929           
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000   0.9143   0.9231   0.8800  0.42857   1.0000  1.00000   1.0000  1.00000    1.000
Recall                0.93750   0.9143   1.0000   1.0000  0.75000   0.8571  0.71429   1.0000  1.00000    1.000
F1                    0.96774   0.9143   0.9600   0.9362  0.54545   0.9231  0.83333   1.0000  1.00000    1.000
Prevalence            0.08290   0.1813   0.1244   0.1140  0.02073   0.1813  0.03627   0.0829  0.06218    0.114
Detection Rate        0.07772   0.1658   0.1244   0.1140  0.01554   0.1554  0.02591   0.0829  0.06218    0.114
Detection Prevalence  0.07772   0.1813   0.1347   0.1295  0.03627   0.1554  0.02591   0.0829  0.06218    0.114
Balanced Accuracy     0.96875   0.9476   0.9941   0.9912  0.86442   0.9286  0.85714   1.0000  1.00000    1.000

$statistics
   class                              className TP FP FN precision    recall        F1
1      0               Asteromphalus.labId_6835 15  0  1 1.0000000 0.9375000 0.9677419
2      1                 Chaetoceros.labId_6813 32  3  3 0.9142857 0.9142857 0.9142857
3      2 Fragilariopsis kerguelensis.labId_8356 24  2  0 0.9230769 1.0000000 0.9600000
4      3     Fragilariopsis rhombica.labId_8362 22  3  0 0.8800000 1.0000000 0.9361702
5      4                   Nitzschia.labId_6758  3  4  1 0.4285714 0.7500000 0.5454545
6      5             Pseudonitzschia.labId_8364 30  0  5 1.0000000 0.8571429 0.9230769
7      6                Rhizosolenia.labId_6776  5  0  2 1.0000000 0.7142857 0.8333333
8      7           Silicoflagellate.labId_10255 16  0  0 1.0000000 1.0000000 1.0000000
9      8     Thalassiosira gracilis.labId_10366 12  0  0 1.0000000 1.0000000 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369 22  0  0 1.0000000 1.0000000 1.0000000

$macro
$macro$precision
[1] 0.9145934

$macro$recall
[1] 0.9173214

$macro$F1
[1] 0.9080063

$macro$F1.Sokolova_Lapalme
[1] 0.9159554


$micro
$micro$precision
[1] 0.9378238

$micro$recall
[1] 0.9378238

$micro$F1
[1] 0.9378238


